package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class VehicleVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /** 车辆唯一标识 */
    private Long vehicleId;

    /** 驾驶人姓名 */
    @Excel(name = "驾驶员姓名")
    private String driverName;

    /** 仓库管理员ID */
    @Excel(name = "驾驶员电话号码")
    private String driverPhoneNumber;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String vehicleNumber;

    /** 制造商 */
    @Excel(name = "制造商")
    private String manufacturer;

    /** 车型 */
    @Excel(name = "车型")
    private String model;

    /** 载重容量 */
    @Excel(name = "载重容量")
    private BigDecimal capacity;

    /** 车辆状态 */
    @Excel(name = "车辆状态")
    private Long state;

    /** 注册日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "注册日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registrationDate;

    /** 最后维护日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后维护日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastMaintenanceDate;

    /**
     * 可用的drivers
     */
    private List<UserVo> drivers;

    /** 驾驶员ID */
    @Excel(name = "驾驶员ID")
    private Long driverId;

    /** 删除标识 */
    private Long isDelete;
}
